Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 4 - Printing Messages / Printing Messages Reference
Constants and Data Types for the Vector Imaging System


Vector Imaging System Structure

The vector imaging system structure, of data type gxVectorImageDataRec, is the structure that QuickDraw GX uses to maintain information about the state of the vector imaging sytem. This data type is used with the GXRenderPage message, which is described on page 4-130.

struct gxVectorImageDataRec {
   gxVectorRenderOptions   renderOptions;
   Fixed                   devRes;
   gxTransform             devTransform;
   gxColorSet              clrSet;
   gxColor                 bgColor;
   gxVHaltoneRec           halftoneInfo;
   gxPenTableHdl           hPenTable;
   gxRectangle             pageRect;
   gxVectorShapeDataRec    shapeData;
};
typedef struct gxVectorImageDataRec gxVectorImageDataRec, 
*gxVectorImageDataPtr, **gxVectorImageDataHdl;
Field Description
renderOptions
Options to control the vector rendering. This value is the combined values of the constants that you include from the vector render options enumeration, which is described in the next section.
devRes
The resolution of the device.
devTransform
The transform for the device.
clrSet
The entire set of colors available on the device.
bgColor
The background color in the specified color space.
halftoneInfo
The halftone information for color bitmaps. This structure is described in the section "Vector Halftone Structure" on page 4-30.
hPenTable
The complete list of pens available on the device, along with the thickness and pen position of each. This structure is described in the section "Vector Pen Table Structure" on page 4-34.
pageRect
The dimensions of the page. If you set the coordinates of this rectangle to all zeros, the page format values are used.
shapeData
The information on how to render a shape on the device.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help